package cn.tedu.spring.config;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
//@Configuration注解 ：spring framework框架会优先加载此类
//@ComponentScan
//会自定扫描注解，框架会自动扫描指定包及子孙包下的所有类，创建Bean对象放入IoC容器中
@Configuration
@ComponentScan("cn.tedu.spring")
public class AppConfig {

}
